import http from '../request'

// 2、定义登录函数接口
export default{
    findCategoryTree (){
        return http({
            url: `/admin/product/baseCategory/findCategoryTreeStream`,
            method: 'get'
        })
    },
    getCategory1 (){
        return http({
            url: `/admin/product/baseCategory/getCategory1`,
            method: 'get'
        })
    },
    getCategory2 (category2Id){
        return http({
            url: `/admin/product/baseCategory/getCategory2/${category2Id}`,
            method: 'get'
        })
    },
    getCategory3 (category3Id){
        return http({
            url: `/admin/product/baseCategory/getCategory3/${category3Id}`,
            method: 'get'
        })
    },
}



